package com.funmi.lizip.service;


import com.funmi.lizip.common.base.R;
import com.funmi.lizip.entity.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.funmi.lizip.entity.dto.device.DeviceQueryRequest;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.awt.*;
import java.util.Date;
import java.util.HashMap;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2022-11-02
 */
@Service
public interface DeviceService extends IService<Device> {

  //  List<Device> getAll();

    Integer getSn(String imei);


    //List<String> getType(Integer deviceId);



    R robeInstrumentMessage(HashMap<String, Object> stringObjectHashMap);

    //void downLoad(HttpServletResponse response, DeviceQueryRequest request);


     List<Device> getAll(DeviceQueryRequest device);

    String getTypeByDeviceSn(String imei);
}
